package com.tuanbiao.data.entity;

import com.tuanbiao.dialog.SelectDialog;

/**
 * @author abiao
 * @date 2022/5/25 14:56
 * @description:
 */
public class KeepSortItem implements SelectDialog.SelectItem {
    private boolean keepSort;

    public KeepSortItem(boolean keepSort) {
        this.keepSort = keepSort;
    }

    public boolean isKeepSort() {
        return keepSort;
    }

    @Override
    public String itemName() {
        return keepSort ? "保持当前排序" : "按孔位顺序排序";
    }
}
